﻿if not ACP then return end

ACP:UpdateLocale( {
  ["Addon Control Panel"] = "Addon Control Panel",
	["Reload your User Interface?"] = true,
	["Save the current addon list to [%s]?"] = true,
	["Enter the new name for [%s]:"] = true,
	["Addons [%s] Saved."] = true,
	["Addons [%s] Unloaded."] = true,
	["Addons [%s] Loaded."] = true,
	["Addons [%s] renamed to [%s]."] = true,
	["Loaded on demand."] = true,
	["AddOns"] = "AddOns (ACP)",
	["Load"] = true,
	["Disable All"] = true,
	["Enable All"] = true,
	["ReloadUI"] = true,
	["Sets"] = true,
	["No information available."] = true,
	["Loaded"] = true,
	["Recursive"] = true,
	["Loadable OnDemand"] = true,
	["Disabled on reloadUI"] = true,
	["Default"] = true;
	["Set "] = true;
	["Save"] = true;
	["Load"] = true;
	["Add to current selection"] = true;
	["Remove from current selection"] = true;
	["Rename"] = true;
	["Use SHIFT to override the current enabling of dependancies behaviour."] = true,
    ["Click to enable protect mode. Protected addons will not be disabled"] = true,
    ["when performing a reloadui."]=true,
    ["ACP: Some protected addons aren't loaded. Reload now?"]=true,
	["Active Embeds"] = true,
	["Memory Usage"] = true,
	["Close"] = true,

	["Blizzard_AchievementUI"] = "Blizzard: Achievement",
	["Blizzard_AuctionUI"] = "Blizzard: Auction",
	["Blizzard_BarbershopUI"] = "Blizzard: Barbershop",
	["Blizzard_BattlefieldMinimap"] = "Blizzard: Battlefield Minimap",
	["Blizzard_BindingUI"] = "Blizzard: Binding",
	["Blizzard_Calendar"] = "Blizzard: Calendar",
	["Blizzard_CombatLog"] = "Blizzard: Combat Log",
	["Blizzard_CombatText"] = "Blizzard: Combat Text",
	["Blizzard_FeedbackUI"] = "Blizzard: Feedback",
	["Blizzard_GlyphUI"] = "Blizzard: Glyph",
	["Blizzard_GMSurveyUI"] = "Blizzard: GM Survey",
	["Blizzard_GuildBankUI"] = "Blizzard: GuildBank",
	["Blizzard_InspectUI"] = "Blizzard: Inspect",
	["Blizzard_ItemSocketingUI"] = "Blizzard: Item Socketing",
	["Blizzard_MacroUI"] = "Blizzard: Macro",
	["Blizzard_RaidUI"] = "Blizzard: Raid",
	["Blizzard_TalentUI"] = "Blizzard: Talent",
	["Blizzard_TimeManager"] = "Blizzard: TimeManager",
	["Blizzard_TokenUI"] = "Blizzard: Token",
	["Blizzard_TradeSkillUI"] = "Blizzard: Trade Skill",
	["Blizzard_TrainerUI"] = "Blizzard: Trainer",
	["Blizzard_VehicleUI"] = "Blizzard: Vehicle",

	["*** Enabling <%s> %s your UI ***"] = true;
	["*** Unknown Addon <%s> Required ***"] = true;
	["LoD Child Enable is now %s"] = true;
	["Recursive Enable is now %s"] = true;
	["Addon <%s> not valid"] = true,
	["Reload"] = true;
	["Author"] = true;
	["Version"] = true;
	["Status"] = true;
	["Dependencies"] = true;
	["Embeds"] = "Optional Deps";
    ["Resurse-ToolTip"] = "When enabling an addon, attempt to enable any addons the addon depends on";
} )

if (GetLocale() == "zhCN") then
	ACP:UpdateLocale(
{
  ["Addon Control Panel"] = "MaoR UI 插件管理",
	["ACP: Some protected addons aren't loaded. Reload now?"] = "ACP：部分受保护插件没有被加载。现在重载插件么？",
	["Active Embeds"] = "单独使用",
	AddOns = "插件管理",
	["Addon <%s> not valid"] = "无效的插件：<%s>",
	["Addons [%s] Loaded."] = "插件设置[%s]已加载。",
	["Addons [%s] renamed to [%s]."] = "插件设置[%s]已改名为[%s]。",
	["Addons [%s] Saved."] = "插件设置[%s]已保存。",
	["Addons [%s] Unloaded."] = "插件设置[%s]已卸载。",
	["Add to current selection"] = "添加当前选择",
	Author = "作者",
	Blizzard_AchievementUI = "Blizzard: Achievement",
	Blizzard_AuctionUI = "Blizzard: Auction",
	Blizzard_BarbershopUI = "Blizzard: Barbershop",
	Blizzard_BattlefieldMinimap = "Blizzard: Battlefield Minimap",
	Blizzard_BindingUI = "Blizzard: Binding",
	Blizzard_Calendar = "Blizzard: Calendar",
	Blizzard_CombatLog = "Blizzard: Combat Log",
	Blizzard_CombatText = "Blizzard: Combat Text",
	Blizzard_FeedbackUI = "Blizzard: Feedback",
	Blizzard_GlyphUI = "Blizzard: Glyph",
	Blizzard_GMSurveyUI = "Blizzard: GM Survey",
	Blizzard_GuildBankUI = "Blizzard: GuildBank",
	Blizzard_InspectUI = "Blizzard: Inspect",
	Blizzard_ItemSocketingUI = "Blizzard: Item Socketing",
	Blizzard_MacroUI = "Blizzard: Macro",
	Blizzard_RaidUI = "Blizzard: Raid",
	Blizzard_TalentUI = "Blizzard: Talent",
	Blizzard_TimeManager = "Blizzard: TimeManager",
	Blizzard_TokenUI = "Blizzard: Token",
	Blizzard_TradeSkillUI = "Blizzard: Trade Skill",
	Blizzard_TrainerUI = "Blizzard: Trainer",
	Blizzard_VehicleUI = "Blizzard: Vehicle",
	["Click to enable protect mode. Protected addons will not be disabled"] = "点击启用保护模式。受保护插件不会被禁用。",
	Close = "关闭",
	Default = "默认",
	Dependencies = "依赖",
	["Disable All"] = "全部禁用",
	["Disabled on reloadUI"] = "重载插件后禁用",
	Embeds = "内置",
	["Enable All"] = "全部启用",
	["*** Enabling <%s> %s your UI ***"] = "*** 启用 <%s>，%s 你的插件 ***",
	["Enter the new name for [%s]:"] = "输入[%s]的新名字：",
	Load = "加载",
	["Loadable OnDemand"] = "需要时加载",
	Loaded = "已加载",
	["Loaded on demand."] = "需要时加载。",
	["LoD Child Enable is now %s"] = "需要时加载的子插件：%s",
	["Memory Usage"] = "内存占用",
	["No information available."] = "无可用信息。",
	Recursive = "递归",
	["Recursive Enable is now %s"] = "递归加载的插件：%s",
	Reload = "重载",
	ReloadUI = "重载插件",
	["Reload your User Interface?"] = "重载插件？",
	["Remove from current selection"] = "移除当前选择",
	Rename = "重命名",
	["Resurse-ToolTip"] = "当启用一个插件时，尝试启用此插件所依赖的插件。",
	Save = "保存",
	["Save the current addon list to [%s]?"] = "保存当前插件设置为[%s]？",
	["Set "] = "配置：",
	Sets = "配置",
	Status = "状态",
	["*** Unknown Addon <%s> Required ***"] = "*** 需要未知插件 <%s> ***",
	["Use SHIFT to override the current enabling of dependancies behaviour."] = "使用 Shift 键无视目前的递归设定。",
	Version = "版本",
	["when performing a reloadui."] = "重载插件时。",
}
    )
end


if (GetLocale() == "zhTW") then
	ACP:UpdateLocale(
{
  ["Addon Control Panel"] = "MaoR UI 插件管理",
	["ACP: Some protected addons aren't loaded. Reload now?"] = "ACP: 部分受保護的插件沒有被載入。現在重載介面?",
	["Active Embeds"] = "運行中的程式集",
	AddOns = "插件管理",
	["Addon <%s> not valid"] = "無效的插件: <%s>",
	["Addons [%s] Loaded."] = "插件清單[%s]已載入。",
	["Addons [%s] renamed to [%s]."] = "插件清單[%s]重新命名為[%s]。",
	["Addons [%s] Saved."] = "插件清單[%s]存檔完畢。",
	["Addons [%s] Unloaded."] = "插件清單[%s]已卸載。",
	["Add to current selection"] = "新增到現在的選擇",
	Author = "作者",
	Blizzard_AchievementUI = "Blizzard: Achievement",
	Blizzard_AuctionUI = "Blizzard: Auction",
	Blizzard_BarbershopUI = "Blizzard: Barbershop",
	Blizzard_BattlefieldMinimap = "Blizzard: Battlefield Minimap",
	Blizzard_BindingUI = "Blizzard: Binding",
	Blizzard_Calendar = "Blizzard: Calendar",
	Blizzard_CombatLog = "Blizzard: Combat Log",
	Blizzard_CombatText = "Blizzard: Combat Text",
	Blizzard_FeedbackUI = "Blizzard: Feedback",
	Blizzard_GlyphUI = "Blizzard: Glyph",
	Blizzard_GMSurveyUI = "Blizzard: GM Survey",
	Blizzard_GuildBankUI = "Blizzard: GuildBank",
	Blizzard_InspectUI = "Blizzard: Inspect",
	Blizzard_ItemSocketingUI = "Blizzard: Item Socketing",
	Blizzard_MacroUI = "Blizzard: Macro",
	Blizzard_RaidUI = "Blizzard: Raid",
	Blizzard_TalentUI = "Blizzard: Talent",
	Blizzard_TimeManager = "Blizzard: TimeManager",
	Blizzard_TokenUI = "Blizzard: Token",
	Blizzard_TradeSkillUI = "Blizzard: Trade Skill",
	Blizzard_TrainerUI = "Blizzard: Trainer",
	Blizzard_VehicleUI = "Blizzard: Vehicle",
	["Click to enable protect mode. Protected addons will not be disabled"] = "點擊啟用保護模式。受保護的插件",
	Close = "關閉",
	Default = "預設",
	Dependencies = "依賴插件",
	["Disable All"] = "全部停用",
	["Disabled on reloadUI"] = "重載介面後停用",
	Embeds = "函數庫",
	["Enable All"] = "全部啟用",
	["*** Enabling <%s> %s your UI ***"] = "*** 啟用<%s>，%s你的使用者介面 ***",
	["Enter the new name for [%s]:"] = "替[%s]重新取名:",
	Load = "載入",
	["Loadable OnDemand"] = "可隨需求載入",
	Loaded = "已載入",
	["Loaded on demand."] = "隨需求載入。",
	["LoD Child Enable is now %s"] = "隨需求載入子插件: %s",
	["Memory Usage"] = "記憶體用量",
	["No information available."] = "無可用的資訊。",
	Recursive = "遞迴",
	["Recursive Enable is now %s"] = "遞迴載入插件: %s",
	Reload = "重載",
	ReloadUI = "重載介面",
	["Reload your User Interface?"] = "重載你的使用者介面?",
	["Remove from current selection"] = "從現在的選擇中移除",
	Rename = "重新命名",
	["Resurse-ToolTip"] = "當啟用一個插件時，嘗試啟用此插件所依賴的插件。",
	Save = "存檔",
	["Save the current addon list to [%s]?"] = "儲存目前的插件清單為[%s]?",
	["Set "] = "設定: ",
	Sets = "設定",
	Status = "狀態",
	["*** Unknown Addon <%s> Required ***"] = "*** 需要未知的插件<%s> ***",
	["Use SHIFT to override the current enabling of dependancies behaviour."] = "使用Shift鍵來重寫目前啟用的依賴行為。",
	Version = "版本",
	["when performing a reloadui."] = "重載介面後不會被停用。",
}
    )
end